package com.nimt.hqgl_idea.mapper;

import com.nimt.hqgl_idea.entity.Dish;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Component;

import java.util.List;

@Component(value = "dishMapper")
public interface DishMapper {
    @Select("select * from dish")
    List<Dish> selectAll();
}

